﻿<UserControl x:Class="DominionModule.Views.SupplyView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <!--
        Okay... the Supply contains the (usually) 10 Kingdom cards and the Basic cards, which always include Copper, Silver, Gold,
        Curse, Estate, Duchy, Province, and the Trash. It may include additional cards. So far: Potion, Colony, and Platinum.
        That makes for 10 kingdom (could be 12 or more in a large game variant) and between 8 and 11 Basic stacks.
        
        The usual layout is something like this, with 2 or 3 rows for Basic cards:
        [Curse] [Copper] [Silver] [Gold]     [Platinum] [Potion]
        [Trash] [Estate] [Duchy]  [Province] [Colony]
        -or-
        [Trash]  [Curse]             [Potion]
        [Copper] [Silver] [Gold]     [Platinum]
        [Estate] [Duchy]  [Province] [Colony]
        
        That's 5x2 (maybe 6x2) or 3x4. Lots of screen space, especially for cards we all know by heart.
        
        
        For Kingdom cards, we have 10 (let's pretend 12, just to be safe) and we probably want to sort them by
        price. I usually see a max of 5 rows: less than 3 coin, 3 coin, 4 coin, 5 coin, and more than 5 coin. 
        We usually see a max of 4 of the same cost in a game, although it could go higher in a degenerate case.
        
        In addition, the cards are usually sorted by cost in Coins, even though some cards will have costs
        in other currencies. In a group of cards with the same Coin cost we probably want to group cards requiring
        an additional currency.
        
        So, an example setup might be:
        [2] [2]          [2P]
        [3]
        [4] [4] [4] [4P] [4P]
                         [6P]
        
        The challenge is to generate a grid layout for card stacks based on the cards we have in this game.
        -->
            
    </Grid>
</UserControl>
